import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import   './utils/axios'

import './utils/swiper.js'
//引入moment组件
import moment from 'moment'
// 引入axios
Vue.prototype.moment = moment
//引入elemetn-ui组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//引入amap组件
import AmapVue from '@amap/amap-vue';
AmapVue.config.version="2.0"
AmapVue.config.key="838e6706638190fdc35a1e64ddb0e9f5"
AmapVue.config.plugins=[
  "Amap.ToolBar",
  "Amap.MoveAnimation",
  "AMap.Geocoder",
];




Vue.use(AmapVue);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
